import { createApp } from "vue"
import App from "@/App.vue"
const app = createApp(App)
import './styles/Tailwind.css'
import markUserAuthorize from '@/middleware/auth.js'
import VImg from '@/components/config/defImage/index.js'
app.use(VImg)

import router from "./router/index.js"
app.use(router)

hccms.init.auth({
  deptid: DEPTID,
  activityid: ACTIVITYID,
  scenetype: SCENETYPE,
  title: TITLE,
  actiontype: 0,
},
  function (e) {
    // if (hccms.win.logins.init({ waytype: 1 })) return false
    markUserAuthorize(e)
    app.mount("#app")
  }
)